<?php
if ($PRODUCTO->colores->count()) {
    $html = '<div class="colores-product"><p style="font-weight: bold;display: inline;float: left;margin-bottom: 10px;">Colores:</p>';
    foreach ($PRODUCTO->colores as $color) {
        $html .= '<div class="color-wrapper" style="background-color: '.$color->hex.'"></div>';
    }
    $html .= '</div>';
    echo($html);
}
?>
